package com.mingqijia.gassafety.webserver.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.http.util.Args;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName FieldListShowResponse.java
 * @Description TODO
 * @createTime 2023年09月22日
 */
@Data
@NoArgsConstructor
@ApiModel(value = "FieldListShow对象", description = "系统列表字段自定义")
public class FieldListShowResponse {


    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "列表页")
    private String listCode;

    @ApiModelProperty(value = "列表字段属性值")
    private String fieldCode;

    @ApiModelProperty(value = "列表字段属性名")
    private String fieldName;

    @ApiModelProperty(value = "列表字段排序")
    private Integer fieldSort;

    @ApiModelProperty(value = "展示状态：0 已选 1未选")
    private Integer showStatus;

    @ApiModelProperty(value = "字段类型：0非必选 1必选 ")
    private Integer fieldType;

    @ApiModelProperty(value = "企业编号")
    private String spId;

    public FieldListShowResponse(String fieldCode, String fieldName, Integer fieldSort, Integer showStatus, Integer fieldType) {
        this.fieldCode = fieldCode;
        this.fieldName = fieldName;
        this.fieldSort = fieldSort;
        this.showStatus = showStatus;
        this.fieldType = fieldType;
    }


}